package com.dao;

import com.bean.BhUser;

import java.sql.SQLException;
import java.util.List;

public interface BhStaduntDao {

    //查询老师的班级
 //   public String Tc(int num)throws SQLException;

    //根据老师查询学生信息
    public List selStu(String num)throws SQLException;

    //添加学生信息
    public int inStu(BhUser bhUser) throws SQLException;

    //删除学生信息
    public int delStu(int uId) throws SQLException;

    //修改学生信息
    public int updStu(BhUser bhUser) throws  SQLException;

    //每5人查
    public List<BhUser> getPage(String cl,int n) throws SQLException;

    //查询总行数
    public int hs() throws SQLException;
}
